package ${domain}.module.wsys.req;

import ${domain}.frame.base.BaseFindRequest;
import java.util.Date;
import ${domain}.frame.validation.Select;

/**
 * LogtaskFindRequest - 任务日志查询
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2020-09-04
 */
public class LogtaskFindRequest extends BaseFindRequest {

    /**
     * 任务ID.
     */
    private String taskId;

    /**
     * 任务名称.
     */
    private String taskName;

    /**
     * 开始时间.
     */
    private Date startTime;

    /**
     * 结束时间.
     */
    private Date endTime;

    /**
     * 执行耗时.
     */
    private Integer execTime;

    /**
     * 执行状态.
     * 1:成功
     * 0:失败
     */
    @Select({"1", "0"})
    private String execState;

    /**
     * 开始日期.
     */
    private Date startDate;

    /**
     * 结束日期.
     */
    private Date endDate;

    public String getTaskId() {
        return this.taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Date getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getExecTime() {
        return this.execTime;
    }

    public void setExecTime(Integer execTime) {
        this.execTime = execTime;
    }

    public String getExecState() {
        return this.execState;
    }

    public void setExecState(String execState) {
        this.execState = execState;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
